package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据目录信息表对象 sy_catagory
 * 
 * @author SYGIS
 * @date 2023-12-22
 */
public class SyCatagory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键标识 */
    private String uuid;

    /** 目录名称 */
    @Excel(name = "目录名称")
    private String name;

    /** 目录编码 */
    @Excel(name = "目录编码")
    private String code;

    /** 上级目录 */
    @Excel(name = "上级目录")
    private String parentId;

    /** 数据类型 1-模型瓦片(3D Tiles)	2-矢量数据(SHP) 3-BIM数据(GLB/GLTF) 4-正摄数据(Tif) */
    @Excel(name = "数据类型 1-模型瓦片(3D Tiles)	2-矢量数据(SHP) 3-BIM数据(GLB/GLTF) 4-正摄数据(Tif)")
    private Integer dataType;

    /** 状态 1-在用 2-停用 */
    @Excel(name = "状态 1-在用 2-停用")
    private Integer status;

    /** 所属数据集 */
    @Excel(name = "所属数据集")
    private String datasetIds;

    /** 部门标识 */
    @Excel(name = "部门标识")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    private Integer orderNum;

    private String datasetId;

    private String creator;

    private boolean selected;

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getDatasetId() {
        return datasetId;
    }

    public void setDatasetId(String datasetId) {
        this.datasetId = datasetId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setDataType(Integer dataType) 
    {
        this.dataType = dataType;
    }

    public Integer getDataType() 
    {
        return dataType;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDatasetIds(String datasetIds) 
    {
        this.datasetIds = datasetIds;
    }

    public String getDatasetIds() 
    {
        return datasetIds;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("name", getName())
            .append("code", getCode())
            .append("parentId", getParentId())
            .append("dataType", getDataType())
            .append("status", getStatus())
            .append("datasetIds", getDatasetIds())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("datasetId", getDatasetId())
            .toString();
    }
}
